﻿<Window x:Class="Collaboration_System.ProductWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:materialDesing ="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="Dashboard" Height="700" Width="1140" TextElement.Foreground="{DynamicResource  MaterialDesignBody}" Background="{x:Null}" AllowsTransparency="True" WindowStyle="None" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Window.Resources>
        <Style x:Key="CalendarStyle2" BasedOn="{StaticResource MaterialDesignCalendarPortraitBase}" TargetType="{x:Type Calendar}">
            <Setter Property="CalendarItemStyle" Value="{StaticResource MaterialDesignCalendarItemPortrait}"/>
        </Style>
    </Window.Resources>
    <materialDesing:Card Background="{DynamicResource MaterialDesignPaper}" UniformCornerRadius="15" Margin="15,15,-299,15" materialDesing:ShadowAssist.ShadowAnimationDuration="4">
        <Grid Margin="0,0,304,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="190"/>
                <ColumnDefinition Width="930"/>
            </Grid.ColumnDefinitions>
            <materialDesing:ColorZone Grid.Column="0" Height="650" CornerRadius="15 0 0 15" Background="White">
                <StackPanel Margin="15">
                    <WrapPanel Margin="0 10 5 60" HorizontalAlignment="Center">
                        <TextBlock Height="76" />
                    </WrapPanel>
                    <Button x:Name="Home" BorderBrush="#FF00C0FF" FontSize="18" Width="142" Height="45" Background="Transparent" Foreground="#DD0E0C0C" FontFamily="Corbel Light" Click="Home_Click">
                        <WrapPanel Width="131">
                            <materialDesing:PackIcon Kind="Home" VerticalAlignment="Center" HorizontalAlignment="Center" Height="24" Width="26"/>
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Height="24" ><Run Text="Домашняя"/></TextBlock>
                        </WrapPanel>
                    </Button>
                    <Button x:Name="Task" BorderBrush="#FF00C0FF" FontSize="18" Width="142" Height="45" Background="Transparent" Foreground="#DD0E0C0C" Click="Task_Click">
                        <WrapPanel Width="131">
                            <materialDesing:PackIcon Kind="TaskAdd" VerticalAlignment="Center" HorizontalAlignment="Center" Height="24" Width="26"/>
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Height="24" ><Run Text="Задачи" FontFamily="Corbel Light"/></TextBlock>
                        </WrapPanel>
                    </Button>
                    <Button x:Name="Lids" BorderBrush="#FF00C0FF" FontSize="18" Width="142" Height="45" Background="Transparent" Foreground="#DD0E0C0C" Click="Lids_Click">
                        <WrapPanel Width="131">
                            <materialDesing:PackIcon Kind="Users" VerticalAlignment="Center" HorizontalAlignment="Center" Height="24" Width="26"/>
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Height="24" ><Run Text="Лиды" FontFamily="Corbel Light"/></TextBlock>
                        </WrapPanel>
                    </Button>
                    <Button x:Name="Deal" BorderBrush="#FF00C0FF" FontSize="18" Width="142" Height="45" Background="Transparent" Foreground="#DD0E0C0C" Click="Deal_Click">
                        <WrapPanel Width="131">
                            <materialDesing:PackIcon Kind="Paper" VerticalAlignment="Center" HorizontalAlignment="Center" Height="24" Width="26"/>
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Height="24" ><Run Text="Сделки" FontFamily="Corbel Light"/></TextBlock>
                        </WrapPanel>
                    </Button>
                    <Button x:Name="Company" BorderBrush="#FF00C0FF" FontSize="18" Width="142" Height="45" Background="Transparent" Foreground="#DD0E0C0C" Click="Company_Click">
                        <WrapPanel Width="131">
                            <materialDesing:PackIcon Kind="Company" VerticalAlignment="Center" HorizontalAlignment="Center" Height="24" Width="26"/>
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Height="24" ><Run Text="Компании" FontFamily="Corbel Light"/></TextBlock>
                        </WrapPanel>
                    </Button>
                    <Button x:Name="Product" BorderBrush="#FF00C0FF" FontSize="18" Width="142" Height="45" Background="Transparent" Foreground="#DD0E0C0C" Click="Product_Click">
                        <WrapPanel Width="131">
                            <materialDesing:PackIcon Kind="Output" VerticalAlignment="Center" HorizontalAlignment="Center" Height="24" Width="26"/>
                            <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Height="24" ><Run Text="Продукция" FontFamily="Corbel Light"/></TextBlock>
                        </WrapPanel>
                    </Button>
                </StackPanel>
            </materialDesing:ColorZone>
            <StackPanel Margin="0,0,0,569" Background="#FF00C0FF" Grid.Column="1"/>
            <Image RenderOptions.BitmapScalingMode="HighQuality" Source="Source/Lanver.png" Margin="1,-10,9,528"/>
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Height="39" Margin="16,621,0,0" Width="164" ><Run Text="Collaboration System  v.1.0.2"/></TextBlock>
            <Border  Margin="10,10,730,604" Grid.Column="1" Background="White" CornerRadius="9">
                <!-- Содержимое рамки -->
            </Border>
            <materialDesing:PackIcon Kind="User" Height="30" Width="41" Grid.Column="1" Margin="10,10,0,0"/>
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="30" Text="Список сделок" FontFamily="Corbel Light" Grid.Column="1" Margin="644,42,0,0" Height="70" Width="272"/>
            <TextBlock x:Name="UserName" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="14" Text="User Name" FontFamily="Corbel Light" Grid.Column="1" Margin="0,20,744,0" Height="15" Width="130"/>
            <TextBlock x:Name="Role" VerticalAlignment="Top" HorizontalAlignment="Right" FontSize="14" Text="Должность: " FontFamily="Corbel Light" Grid.Column="1" Margin="0,42,744,0" Height="16" Width="162" Foreground="#FF078BCC"/>
            <StackPanel Margin="0,101,0,20" Background="#FFECF6FF" Grid.Column="1">
            </StackPanel>
            <!-- Закрытие -->
            <materialDesing:PackIcon Kind="Close" Width="27" Height="26" Opacity="0.3" RenderTransformOrigin="0.925,0" Margin="903,4,0,0" x:Name="ClouseButton" MouseDown="ClouseButton_MouseDown" Grid.Column="1"/>
            <Button x:Name="ExitAkk" Content="Выйти из аккаунта" Background="White" BorderBrush="#FF00C0FF" FontSize="12" Margin="19,574,27,64" Foreground="#DD100F0F" Click="ExitAkk_Click"/>
            <DataGrid x:Name="clientsDG" Grid.Column="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False" Margin="250,101,215,23">
                <DataGrid.Columns>
                    <DataGridTextColumn Header="Название" Binding="{Binding Name}"/>
                    <DataGridTextColumn Header="Цена" Binding="{Binding Price}"/>
                </DataGrid.Columns>
            </DataGrid>
            <Button x:Name="DeleteData" Content="Удалить данные" Background="White" BorderBrush="#FF00C0FF" FontSize="12" Margin="786,101,0,537" Foreground="#DD100F0F" Click="DeleteData_Click" Grid.Column="1"/>
        </Grid>
    </materialDesing:Card>
</Window>
